﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;

namespace XNAFerrScriptTester
{
    class ScriptFunctions
    {
        public static Texture2D LoadTexture(string aTexName)
        {
            return Game1.Instance.Content.Load<Texture2D>(aTexName);
        }
        public static void Draw(float aX, float aY, Texture2D aTexture)
        {
            Game1.Instance.spriteBatch.Draw(aTexture, new Vector2(aX, aY), Color.White);
        }
    }
}
